Cell Background Color Change Script

Below is the script. Place the first part between the HEAD tags and the second part is what the TD tag should look like. A deomstration is below this line. This is a very advanced script that only works with Internet Explorer 4 and 5. If you don't know anything about JavaScript, don't bother with it. You can change just about every color by changing the hex values in the TD tag. For instance: Use
onMouseOver="mOvr(this,'#000000');"
instead of
onMouseOver="mOvr(this,'#00FF00');"
to change the color that the cell changes to from green to back.

Green Bay Packers


This is the fist part. <Script Language="JavaScript"> <!-- function mOvr(src,clrOver) { if (!src.contains(event.fromElement)) { src.style.cursor = 'hand'; src.bgColor = clrOver; }} function mOut(src,clrIn) { if (!src.contains(event.toElement)) { src.style.cursor = 'default'; src.bgColor = clrIn; }} // --> </script> This is the second part <td width="10%" height="8" bgcolor="#000000" onMouseOver="mOvr(this,'#00FF00');" onMouseOut="mOut(this,'#000000')" onClick="parent.location='anylink.html'" ><p align="center"> <A HREF="anylink.html" style="color:#ffffff;" title="Title"> <font size="5">Name of Link</font></a> </td>